/**
 * Copyright (C) 2013 SHANGHAI VOLKSWAGEN, All rights reserved.
 * License version 1.0, a copy of which has been included with this.
 *
 * @File name：com.market.test.common.domain.SingleTon3
 * @Create on：2024/3/12
 * @Author：liuchang
 */
package com.market.test.common.domain;

/**
 * <p>ClassName：SingleTon3</p >
 * <p>Description：</p >
 * <p>Author：liuchang</p >
 * <p>Date：2024/3/12</p >
 */
public class SingleTon3 {
    private SingleTon3(){

    }

    private static volatile SingleTon3 instance;

    public static SingleTon3 getInstance(){
        if (instance==null){
            synchronized (SingleTon3.class){
                if (instance==null){
                    instance=new SingleTon3();
                }
            }
        }
        return instance;
    }
}
